Transpose of matrix easy method in C